document.getElementById("nav").getElementsByTagName("li")[0].onmouseover=function(){
	if(this.getElementsByTagName("ul")[0].style.display=="none"){
		this.getElementsByTagName("ul")[0].style.display="block";
	}else{
		this.getElementsByTagName("ul")[0].style.display="none";
	}
};